Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update k8s api compatibility #2267

Merged

Conversation

LoicLeGal
Copy link
Contributor

@LoicLeGal LoicLeGal commented Aug 11, 2020

Fixes #2169, #2251 and also complement the Helm Chart fix of skydive-project/skydive-helm/issues/2

@LoicLeGal LoicLeGal marked this pull request as ready for review August 11, 2020 16:52
@lebauce
Copy link
Member

lebauce commented Aug 18, 2020

Thank you for this. We are still struggling a bit with CI. We'll review it as soon as it's fixed

@lebauce
Copy link
Member

lebauce commented Aug 18, 2020

run k8s-tests
run go-fmt
run unit-tests

Dockerfile Outdated
@@ -0,0 +1,20 @@
ARG BASE=ubuntu:19.10
Copy link
Member

@lebauce lebauce Aug 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "official" Dockerfile is in contrib/docker and can be built using make docker-image (.mk/dist.mk)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right, my aim was to launch the build process inside a temporary container to avoid being dependent from libs on the host where it is run (cf. "build" level of the PR's Dockerfile) and also avoid copying sources in a dir below (as

cp $$GOPATH/bin/skydive contrib/docker/skydive.$$(uname -m)
for the binary). As I'm not fluent with Skydive build process, may be I haven't done it the best way.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem. We have such a Dockerfile in the repository of our CI scripts : https://github.com/skydive-project/skydive-ci/blob/master/scripts/Dockerfile.compile
We have now fixed most of the CI issues. Could you please rebase your PR on top of master, without the Dockerfile ? Thanks a lot !

@lebauce lebauce merged commit 4eee852 into skydive-project:master Sep 18, 2020
@LoicLeGal
Copy link
Contributor Author

Thanks! No time to finalize MR on my side currently.

@lebauce
Copy link
Member

lebauce commented Sep 18, 2020

@LoicLeGal No problem :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Analyzer's k8s probe doesn't support Kubernetes >= 1.16
2 participants